import axios from '@/libs/api.request.js'

export const getList = data => {
    return axios.request({
        method:'post',
        data:data,
        url:'upper/getList'
    });
};

export const saveUpper = data => {
    return axios.request({
        method:'post',
        data:data,
        url:'upper/saveUpper'
    });
};

export const getUpperListByChapters = data => {
    return axios.request({
        method:'post',
        data:data,
        url:'upper/getUpperListByChapters'
    });
};